#CB6FE7#CB6FE7

#CB6FE7 is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.1% C 0.191 H 317.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CB6FE7
RGBrgb(203, 111, 231)
HSLhsl(286, 71%, 67%)
HSVhsv(286, 52%, 91%)
CMYKcmyk(12.1%, 51.9%, 0%, 9.4%)
CIE-LABlab(61.51, 54.82, -46.06)
CIE-LCHlch(61.51, 71.61, 319.96°)
OKLaboklab(69.12% 0.1414 -0.128)
OKLCHoklch(69.12% 0.191 317.8)
XYZxyz(44.7348, 29.8365, 78.9884)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6FE7 #8BE76F
analogous
#8F6FE7 #CB6FE7 #E76FC7
triadic
#CB6FE7 #E7CB6F #6FE7CB
tetradic
#CB6FE7 #E78F6F #8BE76F #6FC7E7
square
#CB6FE7 #E78F6F #8BE76F #6FC7E7
split-complementary
#CB6FE7 #C7E76F #6FE78F
monochromatic
#981FBC #B83BDE #CB6FE7 #DEA3F0 #F1D8F8

Accessibility & contrast

On white

3.01
#CB6FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CB6FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6FE7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6FE7#FFFFFF#000000##000000
##CB6FE71.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEB
Deuteranopia (green-blind)
#7498E4
Tritanopia (blue-blind)
#CB81A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6fe7;
/* rgb */ color: rgb(203, 111, 231);
/* oklch */ color: oklch(69.1% 0.191 317.8);
Tailwind
colors: {
  custom: {
    50: '#dd9cef',
    500: '#cb6fe7',
    950: '#000000',
  },
}
SCSS
$custom: #cb6fe7;
$custom-light: #dd9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6fe7",
  "rgb": {
    "r": 203,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 286,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69115,
    "c": 0.19075,
    "h": 317.8
  },
  "luminance": 0.29835
}

Semantic roles & 50–950 ramp

primary
#CB6FE7
secondary
#CFECC6
accent
#D3123F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB6FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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