#CB7DFE#CB7DFE

#CB7DFE is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.3% C 0.193 H 310.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CB7DFE
RGBrgb(203, 125, 254)
HSLhsl(276, 98%, 74%)
HSVhsv(276, 51%, 100%)
CMYKcmyk(20.1%, 50.8%, 0%, 0.4%)
CIE-LABlab(65.37, 52.47, -52.66)
CIE-LCHlch(65.37, 74.34, 314.90°)
OKLaboklab(72.34% 0.1251 -0.1473)
OKLCHoklch(72.34% 0.193 310.3)
XYZxyz(49.8483, 34.5204, 97.7838)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DFE #B0FE7D
analogous
#8B7DFE #CB7DFE #FE7DF1
triadic
#CB7DFE #FECB7D #7DFECB
tetradic
#CB7DFE #FE8B7D #B0FE7D #7DF1FE
square
#CB7DFE #FE8B7D #B0FE7D #7DF1FE
split-complementary
#CB7DFE #F1FE7D #7DFE8B
monochromatic
#9A04FD #B340FE #CB7DFE #E3BAFE #F3E1FF

Accessibility & contrast

On white

2.66
#CB7DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CB7DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DFE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DFE#FFFFFF#000000##000000
##CB7DFE1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#73A0FB
Tritanopia (blue-blind)
#C593B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb7dfe;
/* rgb */ color: rgb(203, 125, 254);
/* oklch */ color: oklch(72.3% 0.193 310.3);
Tailwind
colors: {
  custom: {
    50: '#dda5ff',
    500: '#cb7dfe',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dfe;
$custom-light: #dda5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dfe",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 276.279,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72338,
    "c": 0.19326,
    "h": 310.3
  },
  "luminance": 0.34519
}

Semantic roles & 50–950 ramp

primary
#CB7DFE
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB7DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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