#CB6FFE#CB6FFE

#CB6FFE is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.4% C 0.214 H 311.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CB6FFE
RGBrgb(203, 111, 254)
HSLhsl(279, 99%, 72%)
HSVhsv(279, 56%, 100%)
CMYKcmyk(20.1%, 56.3%, 0%, 0.4%)
CIE-LABlab(62.69, 59.52, -56.92)
CIE-LCHlch(62.69, 82.35, 316.28°)
OKLaboklab(70.37% 0.1429 -0.1596)
OKLCHoklch(70.37% 0.214 311.8)
XYZxyz(48.1992, 31.2223, 97.2341)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6FFE #A2FE6F
analogous
#846FFE #CB6FFE #FE6FEA
triadic
#CB6FFE #FECB6F #6FFECB
tetradic
#CB6FFE #FE846F #A2FE6F #6FEAFE
square
#CB6FFE #FE846F #A2FE6F #6FEAFE
split-complementary
#CB6FFE #EAFE6F #6FFE84
monochromatic
#9C02F1 #B532FE #CB6FFE #E1ACFE #F4E1FF

Accessibility & contrast

On white

2.90
#CB6FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CB6FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6FFE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6FFE#FFFFFF#000000##000000
##CB6FFE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#659AFA
Tritanopia (blue-blind)
#C588AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb6ffe;
/* rgb */ color: rgb(203, 111, 254);
/* oklch */ color: oklch(70.4% 0.214 311.8);
Tailwind
colors: {
  custom: {
    50: '#de9cff',
    500: '#cb6ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cb6ffe;
$custom-light: #de9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6ffe",
  "rgb": {
    "r": 203,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 278.601,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70366,
    "c": 0.21428,
    "h": 311.8
  },
  "luminance": 0.31221
}

Semantic roles & 50–950 ramp

primary
#CB6FFE
secondary
#DFF7D2
accent
#E60052
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CB6FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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