#CB66FE#CB66FE

#CB66FE is a light, highly saturated violet. Relative luminance 0.294; OKLCH L 69.2% C 0.227 H 312.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CB66FE
RGBrgb(203, 102, 254)
HSLhsl(280, 99%, 70%)
HSVhsv(280, 60%, 100%)
CMYKcmyk(20.1%, 59.8%, 0%, 0.4%)
CIE-LABlab(61.09, 63.83, -59.47)
CIE-LCHlch(61.09, 87.24, 317.02°)
OKLaboklab(69.2% 0.1538 -0.1671)
OKLCHoklch(69.2% 0.227 312.6)
XYZxyz(47.2662, 29.3563, 96.9231)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB66FE #99FE66
analogous
#7F66FE #CB66FE #FE66E5
triadic
#CB66FE #FECB66 #66FECB
tetradic
#CB66FE #FE7F66 #99FE66 #66E5FE
square
#CB66FE #FE7F66 #99FE66 #66E5FE
split-complementary
#CB66FE #E5FE66 #66FE7F
monochromatic
#9B02E8 #B629FE #CB66FE #E0A3FE #F4E0FF

Accessibility & contrast

On white

3.06
#CB66FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#CB66FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB66FE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB66FE#FFFFFF#000000##000000
##CB66FE1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8EFF
Deuteranopia (green-blind)
#5C96FA
Tritanopia (blue-blind)
#C682A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cb66fe;
/* rgb */ color: rgb(203, 102, 254);
/* oklch */ color: oklch(69.2% 0.227 312.6);
Tailwind
colors: {
  custom: {
    50: '#de97ff',
    500: '#cb66fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb66fe;
$custom-light: #de97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb66fe",
  "rgb": {
    "r": 203,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 279.868,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69199,
    "c": 0.22708,
    "h": 312.6
  },
  "luminance": 0.29355
}

Semantic roles & 50–950 ramp

primary
#CB66FE
secondary
#D9F5CA
accent
#E6004D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CB66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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