#602EC2#602EC2

#602EC2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.212 H 291.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#602EC2
RGBrgb(96, 46, 194)
HSLhsl(260, 62%, 47%)
HSVhsv(260, 76%, 76%)
CMYKcmyk(50.5%, 76.3%, 0%, 23.9%)
CIE-LABlab(34.67, 54.97, -68.78)
CIE-LCHlch(34.67, 88.05, 308.63°)
OKLaboklab(46.16% 0.0762 -0.1976)
OKLCHoklch(46.16% 0.212 291.1)
XYZxyz(15.5357, 8.3352, 51.8188)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602EC2 #90C22E
analogous
#2E46C2 #602EC2 #AA2EC2
triadic
#602EC2 #C2602E #2EC260
tetradic
#602EC2 #C22E46 #90C22E #2EC2AA
square
#602EC2 #C22E46 #90C22E #2EC2AA
split-complementary
#602EC2 #C2AA2E #46C22E
monochromatic
#2F175F #482291 #602EC2 #8256D7 #A688E3

Accessibility & contrast

On white

7.87
#602EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#602EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602EC2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602EC2#FFFFFF#000000##FFFFFF
##602EC21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004EBF
Tritanopia (blue-blind)
#3E5777
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #602ec2;
/* rgb */ color: rgb(96, 46, 194);
/* oklch */ color: oklch(46.2% 0.212 291.1);
Tailwind
colors: {
  custom: {
    50: '#976cd6',
    500: '#602ec2',
    950: '#000000',
  },
}
SCSS
$custom: #602ec2;
$custom-light: #976cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#602ec2",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 260.27,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46162,
    "c": 0.21177,
    "h": 291.1
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#602EC2
secondary
#B2CC7F
accent
#E543AE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0714
muted
#7E7A83

Preview Lab

Preview with #602EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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