#CB7BFC#CB7BFC

#CB7BFC is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.194 H 311.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CB7BFC
RGBrgb(203, 123, 252)
HSLhsl(277, 96%, 74%)
HSVhsv(277, 51%, 99%)
CMYKcmyk(19.4%, 51.2%, 0%, 1.2%)
CIE-LABlab(64.88, 53.07, -52.35)
CIE-LCHlch(64.88, 74.55, 315.39°)
OKLaboklab(71.94% 0.1275 -0.1464)
OKLCHoklch(71.94% 0.194 311.1)
XYZxyz(49.2791, 33.8917, 96.0224)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BFC #ACFC7B
analogous
#8A7BFC #CB7BFC #FC7BED
triadic
#CB7BFC #FCCB7B #7BFCCB
tetradic
#CB7BFC #FC8A7B #ACFC7B #7BEDFC
square
#CB7BFC #FC8A7B #ACFC7B #7BEDFC
split-complementary
#CB7BFC #EDFC7B #7BFC8A
monochromatic
#9B06F7 #B33FFB #CB7BFC #E3B7FD #F3E1FE

Accessibility & contrast

On white

2.70
#CB7BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CB7BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BFC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BFC#FFFFFF#000000##000000
##CB7BFC1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#C591B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7bfc;
/* rgb */ color: rgb(203, 123, 252);
/* oklch */ color: oklch(71.9% 0.194 311.1);
Tailwind
colors: {
  custom: {
    50: '#dda4fe',
    500: '#cb7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bfc;
$custom-light: #dda4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bfc",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 277.209,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71937,
    "c": 0.19416,
    "h": 311.1
  },
  "luminance": 0.33891
}

Semantic roles & 50–950 ramp

primary
#CB7BFC
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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