#CB7BF4#CB7BF4

#CB7BF4 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.5% C 0.185 H 313.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CB7BF4
RGBrgb(203, 123, 244)
HSLhsl(280, 85%, 72%)
HSVhsv(280, 50%, 96%)
CMYKcmyk(16.8%, 49.6%, 0%, 4.3%)
CIE-LABlab(64.48, 51.38, -48.58)
CIE-LCHlch(64.48, 70.71, 316.61°)
OKLaboklab(71.52% 0.1268 -0.1354)
OKLCHoklch(71.52% 0.185 313.1)
XYZxyz(48.0379, 33.3952, 89.4858)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BF4 #A4F47B
analogous
#8F7BF4 #CB7BF4 #F47BE1
triadic
#CB7BF4 #F4CB7B #7BF4CB
tetradic
#CB7BF4 #F48F7B #A4F47B #7BE1F4
square
#CB7BF4 #F48F7B #A4F47B #7BE1F4
split-complementary
#CB7BF4 #E1F47B #7BF48F
monochromatic
#9C13E2 #B543EF #CB7BF4 #E1B3F9 #F4E3FD

Accessibility & contrast

On white

2.73
#CB7BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CB7BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BF4
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BF4#FFFFFF#000000##000000
##CB7BF41.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F8
Deuteranopia (green-blind)
#779EF1
Tritanopia (blue-blind)
#C78EAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7bf4;
/* rgb */ color: rgb(203, 123, 244);
/* oklch */ color: oklch(71.5% 0.185 313.1);
Tailwind
colors: {
  custom: {
    50: '#dda3f8',
    500: '#cb7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bf4;
$custom-light: #dda3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bf4",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 279.669,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71515,
    "c": 0.18549,
    "h": 313.1
  },
  "luminance": 0.33394
}

Semantic roles & 50–950 ramp

primary
#CB7BF4
secondary
#E1F5D6
accent
#E1044F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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