#CB7CF3#CB7CF3

#CB7CF3 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.6% C 0.183 H 313.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CB7CF3
RGBrgb(203, 124, 243)
HSLhsl(280, 83%, 72%)
HSVhsv(280, 49%, 95%)
CMYKcmyk(16.5%, 49%, 0%, 4.7%)
CIE-LABlab(64.63, 50.66, -47.79)
CIE-LCHlch(64.63, 69.64, 316.67°)
OKLaboklab(71.61% 0.1253 -0.1331)
OKLCHoklch(71.61% 0.183 313.3)
XYZxyz(48.0112, 33.5840, 88.7299)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7CF3 #A4F37C
analogous
#907CF3 #CB7CF3 #F37CE0
triadic
#CB7CF3 #F3CB7C #7CF3CB
tetradic
#CB7CF3 #F3907C #A4F37C #7CE0F3
square
#CB7CF3 #F3907C #A4F37C #7CE0F3
split-complementary
#CB7CF3 #E0F37C #7CF390
monochromatic
#9C15E0 #B544EE #CB7CF3 #E1B4F8 #F4E3FC

Accessibility & contrast

On white

2.72
#CB7CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CB7CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7CF3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7CF3#FFFFFF#000000##000000
##CB7CF31.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F7
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#C78FAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7cf3;
/* rgb */ color: rgb(203, 124, 243);
/* oklch */ color: oklch(71.6% 0.183 313.3);
Tailwind
colors: {
  custom: {
    50: '#dda4f7',
    500: '#cb7cf3',
    950: '#000000',
  },
}
SCSS
$custom: #cb7cf3;
$custom-light: #dda4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7cf3",
  "rgb": {
    "r": 203,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 279.832,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71611,
    "c": 0.18284,
    "h": 313.3
  },
  "luminance": 0.33583
}

Semantic roles & 50–950 ramp

primary
#CB7CF3
secondary
#E1F4D6
accent
#E0064F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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