#CB9CFA#CB9CFA

#CB9CFA is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.1% C 0.139 H 306.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#CB9CFA
RGBrgb(203, 156, 250)
HSLhsl(270, 90%, 80%)
HSVhsv(270, 38%, 98%)
CMYKcmyk(18.8%, 37.6%, 0%, 2%)
CIE-LABlab(71.81, 35.04, -40.36)
CIE-LCHlch(71.81, 53.45, 310.96°)
OKLaboklab(77.1% 0.0824 -0.1118)
OKLCHoklch(77.1% 0.139 306.4)
XYZxyz(53.7690, 43.3759, 95.9637)
Luminance0.4338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9CFA #CBFA9C
analogous
#9C9CFA #CB9CFA #FA9CFA
triadic
#CB9CFA #FACB9C #9CFACB
tetradic
#CB9CFA #FA9C9C #CBFA9C #9CFAFA
square
#CB9CFA #FA9C9C #CBFA9C #9CFAFA
split-complementary
#CB9CFA #FAFA9C #9CFA9C
monochromatic
#8E27F4 #AC62F7 #CB9CFA #EAD6FD #F0E2FE

Accessibility & contrast

On white

2.17
#CB9CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#CB9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9CFA
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9CFA#FFFFFF#000000##000000
##CB9CFA1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFE
Deuteranopia (green-blind)
#92B0F7
Tritanopia (blue-blind)
#C4AABF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cb9cfa;
/* rgb */ color: rgb(203, 156, 250);
/* oklch */ color: oklch(77.1% 0.139 306.4);
Tailwind
colors: {
  custom: {
    50: '#dcbafc',
    500: '#cb9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #cb9cfa;
$custom-light: #dcbafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9cfa",
  "rgb": {
    "r": 203,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 270,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77099,
    "c": 0.13889,
    "h": 306.4
  },
  "luminance": 0.43376
}

Semantic roles & 50–950 ramp

primary
#CB9CFA
secondary
#E6F6D5
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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