#CB7CFD#CB7CFD

#CB7CFD is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.1% C 0.194 H 310.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CB7CFD
RGBrgb(203, 124, 253)
HSLhsl(277, 97%, 74%)
HSVhsv(277, 51%, 99%)
CMYKcmyk(19.8%, 51%, 0%, 0.8%)
CIE-LABlab(65.12, 52.77, -52.51)
CIE-LCHlch(65.12, 74.44, 315.14°)
OKLaboklab(72.14% 0.1263 -0.1468)
OKLCHoklch(72.14% 0.194 310.7)
XYZxyz(49.5626, 34.2046, 96.9007)
Luminance0.3420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7CFD #AEFD7C
analogous
#8B7CFD #CB7CFD #FD7CEF
triadic
#CB7CFD #FDCB7C #7CFDCB
tetradic
#CB7CFD #FD8B7C #AEFD7C #7CEFFD
square
#CB7CFD #FD8B7C #AEFD7C #7CEFFD
split-complementary
#CB7CFD #EFFD7C #7CFD8B
monochromatic
#9B04FB #B340FC #CB7CFD #E3B8FE #F3E1FF

Accessibility & contrast

On white

2.68
#CB7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CB7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7CFD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7CFD#FFFFFF#000000##000000
##CB7CFD1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#72A0FA
Tritanopia (blue-blind)
#C592B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7cfd;
/* rgb */ color: rgb(203, 124, 253);
/* oklch */ color: oklch(72.1% 0.194 310.7);
Tailwind
colors: {
  custom: {
    50: '#dda4fe',
    500: '#cb7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cb7cfd;
$custom-light: #dda4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7cfd",
  "rgb": {
    "r": 203,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 276.744,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72137,
    "c": 0.19371,
    "h": 310.7
  },
  "luminance": 0.34204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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