#CB7CEF#CB7CEF

#CB7CEF is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.4% C 0.179 H 314.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CB7CEF
RGBrgb(203, 124, 239)
HSLhsl(281, 78%, 71%)
HSVhsv(281, 48%, 94%)
CMYKcmyk(15.1%, 48.1%, 0%, 6.3%)
CIE-LABlab(64.44, 49.82, -45.89)
CIE-LCHlch(64.44, 67.73, 317.36°)
OKLaboklab(71.41% 0.1248 -0.1276)
OKLCHoklch(71.41% 0.179 314.4)
XYZxyz(47.4137, 33.3450, 85.5832)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7CEF #A0EF7C
analogous
#917CEF #CB7CEF #EF7CDA
triadic
#CB7CEF #EFCB7C #7CEFCB
tetradic
#CB7CEF #EF917C #A0EF7C #7CDAEF
square
#CB7CEF #EF917C #A0EF7C #7CDAEF
split-complementary
#CB7CEF #DAEF7C #7CEF91
monochromatic
#9B1AD6 #B545E8 #CB7CEF #E1B3F6 #F4E4FC

Accessibility & contrast

On white

2.74
#CB7CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CB7CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7CEF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7CEF#FFFFFF#000000##000000
##CB7CEF1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#C88DAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7cef;
/* rgb */ color: rgb(203, 124, 239);
/* oklch */ color: oklch(71.4% 0.179 314.4);
Tailwind
colors: {
  custom: {
    50: '#dda4f4',
    500: '#cb7cef',
    950: '#000000',
  },
}
SCSS
$custom: #cb7cef;
$custom-light: #dda4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7cef",
  "rgb": {
    "r": 203,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 281.217,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.17851,
    "h": 314.4
  },
  "luminance": 0.33344
}

Semantic roles & 50–950 ramp

primary
#CB7CEF
secondary
#DEF3D4
accent
#DA0B4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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