#CB6EFB#CB6EFB

#CB6EFB is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 70.1% C 0.213 H 312.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CB6EFB
RGBrgb(203, 110, 251)
HSLhsl(280, 95%, 71%)
HSVhsv(280, 56%, 98%)
CMYKcmyk(19.1%, 56.2%, 0%, 1.6%)
CIE-LABlab(62.35, 59.38, -55.81)
CIE-LCHlch(62.35, 81.50, 316.78°)
OKLaboklab(70.06% 0.1441 -0.1564)
OKLCHoklch(70.06% 0.213 312.6)
XYZxyz(47.6141, 30.8146, 94.6877)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6EFB #9EFB6E
analogous
#846EFB #CB6EFB #FB6EE5
triadic
#CB6EFB #FBCB6E #6EFBCB
tetradic
#CB6EFB #FB846E #9EFB6E #6EE5FB
square
#CB6EFB #FB846E #9EFB6E #6EE5FB
split-complementary
#CB6EFB #E5FB6E #6EFB84
monochromatic
#9B06E8 #B632F9 #CB6EFB #E0AAFD #F4E1FE

Accessibility & contrast

On white

2.93
#CB6EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CB6EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6EFB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6EFB#FFFFFF#000000##000000
##CB6EFB1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#6699F7
Tritanopia (blue-blind)
#C687AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb6efb;
/* rgb */ color: rgb(203, 110, 251);
/* oklch */ color: oklch(70.1% 0.213 312.6);
Tailwind
colors: {
  custom: {
    50: '#de9bfd',
    500: '#cb6efb',
    950: '#000000',
  },
}
SCSS
$custom: #cb6efb;
$custom-light: #de9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6efb",
  "rgb": {
    "r": 203,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 279.574,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70062,
    "c": 0.21265,
    "h": 312.6
  },
  "luminance": 0.30813
}

Semantic roles & 50–950 ramp

primary
#CB6EFB
secondary
#DCF5CF
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CB6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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