#CB7CFA#CB7CFA

#CB7CFA is a light, vivid violet. Relative luminance 0.340; OKLCH L 72.0% C 0.190 H 311.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CB7CFA
RGBrgb(203, 124, 250)
HSLhsl(278, 93%, 73%)
HSVhsv(278, 50%, 98%)
CMYKcmyk(18.8%, 50.4%, 0%, 2%)
CIE-LABlab(64.97, 52.13, -51.10)
CIE-LCHlch(64.97, 73.00, 315.57°)
OKLaboklab(71.98% 0.1261 -0.1427)
OKLCHoklch(71.98% 0.19 311.4)
XYZxyz(49.0885, 34.0149, 94.4036)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7CFA #ABFA7C
analogous
#8C7CFA #CB7CFA #FA7CEA
triadic
#CB7CFA #FACB7C #7CFACB
tetradic
#CB7CFA #FA8C7C #ABFA7C #7CEAFA
square
#CB7CFA #FA8C7C #ABFA7C #7CEAFA
split-complementary
#CB7CFA #EAFA7C #7CFA8C
monochromatic
#9B09F2 #B441F8 #CB7CFA #E2B7FC #F3E2FE

Accessibility & contrast

On white

2.69
#CB7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CB7CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7CFA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7CFA#FFFFFF#000000##000000
##CB7CFA1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#C691B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7cfa;
/* rgb */ color: rgb(203, 124, 250);
/* oklch */ color: oklch(72.0% 0.190 311.4);
Tailwind
colors: {
  custom: {
    50: '#dda4fc',
    500: '#cb7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #cb7cfa;
$custom-light: #dda4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7cfa",
  "rgb": {
    "r": 203,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 277.619,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71977,
    "c": 0.19044,
    "h": 311.4
  },
  "luminance": 0.34014
}

Semantic roles & 50–950 ramp

primary
#CB7CFA
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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