#CB3FE2#CB3FE2

#CB3FE2 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.4% C 0.250 H 321.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CB3FE2
RGBrgb(203, 63, 226)
HSLhsl(292, 74%, 57%)
HSVhsv(292, 72%, 89%)
CMYKcmyk(10.2%, 72.1%, 0%, 11.4%)
CIE-LABlab(53.76, 74.44, -55.59)
CIE-LCHlch(53.76, 92.90, 323.25°)
OKLaboklab(63.4% 0.1962 -0.1555)
OKLCHoklch(63.4% 0.25 321.6)
XYZxyz(40.1321, 21.7447, 74.0200)
Luminance0.2174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3FE2 #56E23F
analogous
#7A3FE2 #CB3FE2 #E23FA8
triadic
#CB3FE2 #E2CB3F #3FE2CB
tetradic
#CB3FE2 #E27A3F #56E23F #3FA8E2
square
#CB3FE2 #E27A3F #56E23F #3FA8E2
split-complementary
#CB3FE2 #A8E23F #3FE27A
monochromatic
#7F1691 #AE1EC6 #CB3FE2 #D974EA #E8A9F2

Accessibility & contrast

On white

3.93
#CB3FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CB3FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3FE2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3FE2#FFFFFF#000000##000000
##CB3FE21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#5486DE
Tritanopia (blue-blind)
#CD5E8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb3fe2;
/* rgb */ color: rgb(203, 63, 226);
/* oklch */ color: oklch(63.4% 0.250 321.6);
Tailwind
colors: {
  custom: {
    50: '#df81ec',
    500: '#cb3fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cb3fe2;
$custom-light: #df81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3fe2",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 291.534,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63401,
    "c": 0.25035,
    "h": 321.6
  },
  "luminance": 0.21743
}

Semantic roles & 50–950 ramp

primary
#CB3FE2
secondary
#A6E09D
accent
#F03751
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CB3FE2

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

Preview Lab → · Contrast checker → · Palette generator →

#CB3FE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva