#602DE2#602DE2

#602DE2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.247 H 285.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#602DE2
RGBrgb(96, 45, 226)
HSLhsl(257, 76%, 53%)
HSVhsv(257, 80%, 89%)
CMYKcmyk(57.5%, 80.1%, 0%, 11.4%)
CIE-LABlab(37.58, 63.88, -82.52)
CIE-LCHlch(37.58, 104.36, 307.75°)
OKLaboklab(49.1% 0.0672 -0.2377)
OKLCHoklch(49.1% 0.247 285.8)
XYZxyz(19.4856, 9.8534, 72.8119)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602DE2 #AFE22D
analogous
#2D54E2 #602DE2 #BA2DE2
triadic
#602DE2 #E2602D #2DE260
tetradic
#602DE2 #E22D54 #AFE22D #2DE2BA
square
#602DE2 #E22D54 #AFE22D #2DE2BA
split-complementary
#602DE2 #E2BA2D #54E22D
monochromatic
#321283 #4619B8 #602DE2 #8963E9 #B199F1

Accessibility & contrast

On white

7.07
#602DE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#602DE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602DE2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602DE2#FFFFFF#000000##FFFFFF
##602DE21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#0053DF
Tritanopia (blue-blind)
#186489
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #602de2;
/* rgb */ color: rgb(96, 45, 226);
/* oklch */ color: oklch(49.1% 0.247 285.8);
Tailwind
colors: {
  custom: {
    50: '#9c6eed',
    500: '#602de2',
    950: '#000000',
  },
}
SCSS
$custom: #602de2;
$custom-light: #9c6eed;
$custom-dark: #000000;
JSON
{
  "hex": "#602de2",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 256.906,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.24704,
    "h": 285.8
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#602DE2
secondary
#C6DC8E
accent
#F235BD
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #602DE2

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

Preview Lab → · Contrast checker → · Palette generator →

#602DE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva