#702DCF#702DCF

#702DCF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.227 H 295.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#702DCF
RGBrgb(112, 45, 207)
HSLhsl(265, 64%, 49%)
HSVhsv(265, 78%, 81%)
CMYKcmyk(45.9%, 78.3%, 0%, 18.8%)
CIE-LABlab(37.53, 61.01, -71.61)
CIE-LCHlch(37.53, 94.07, 310.43°)
OKLaboklab(48.93% 0.097 -0.2053)
OKLCHoklch(48.93% 0.227 295.3)
XYZxyz(18.8799, 9.8260, 59.9213)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DCF #8CCF2D
analogous
#2D3BCF #702DCF #C12DCF
triadic
#702DCF #CF702D #2DCF70
tetradic
#702DCF #CF2D3B #8CCF2D #2DCFC1
square
#702DCF #CF2D3B #8CCF2D #2DCFC1
split-complementary
#702DCF #CFC12D #3BCF2D
monochromatic
#3A176A #55229D #702DCF #925DDC #B490E7

Accessibility & contrast

On white

7.08
#702DCF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#702DCF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DCF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DCF#FFFFFF#000000##FFFFFF
##702DCF1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#555B7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #702dcf;
/* rgb */ color: rgb(112, 45, 207);
/* oklch */ color: oklch(48.9% 0.227 295.3);
Tailwind
colors: {
  custom: {
    50: '#a26edf',
    500: '#702dcf',
    950: '#000000',
  },
}
SCSS
$custom: #702dcf;
$custom-light: #a26edf;
$custom-dark: #000000;
JSON
{
  "hex": "#702dcf",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 207
  },
  "hsl": {
    "h": 264.815,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.22707,
    "h": 295.3
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#702DCF
secondary
#B2D187
accent
#E741A2
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #702DCF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#702DCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva