#CB9FED#CB9FED

#CB9FED is a light, moderate violet. Relative luminance 0.436; OKLCH L 77.0% C 0.118 H 309.6°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CB9FED
RGBrgb(203, 159, 237)
HSLhsl(274, 68%, 78%)
HSVhsv(274, 33%, 93%)
CMYKcmyk(14.3%, 32.9%, 0%, 7.1%)
CIE-LABlab(71.97, 30.59, -33.04)
CIE-LCHlch(71.97, 45.03, 312.79°)
OKLaboklab(77.04% 0.0752 -0.0909)
OKLCHoklch(77.04% 0.118 309.6)
XYZxyz(52.3100, 43.6078, 85.7658)
Luminance0.4361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9FED #C1ED9F
analogous
#A49FED #CB9FED #ED9FE8
triadic
#CB9FED #EDCB9F #9FEDCB
tetradic
#CB9FED #EDA49F #C1ED9F #9FE8ED
square
#CB9FED #EDA49F #C1ED9F #9FE8ED
split-complementary
#CB9FED #E8ED9F #9FEDA4
monochromatic
#9338DA #AF6BE3 #CB9FED #E7D3F7 #F1E5FA

Accessibility & contrast

On white

2.16
#CB9FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#CB9FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9FED
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9FED#FFFFFF#000000##000000
##CB9FED1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEF0
Deuteranopia (green-blind)
#9AB1EB
Tritanopia (blue-blind)
#C7AABB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cb9fed;
/* rgb */ color: rgb(203, 159, 237);
/* oklch */ color: oklch(77.0% 0.118 309.6);
Tailwind
colors: {
  custom: {
    50: '#dbbcf3',
    500: '#cb9fed',
    950: '#000000',
  },
}
SCSS
$custom: #cb9fed;
$custom-light: #dbbcf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9fed",
  "rgb": {
    "r": 203,
    "g": 159,
    "b": 237
  },
  "hsl": {
    "h": 273.846,
    "s": 68.421,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77043,
    "c": 0.11796,
    "h": 309.6
  },
  "luminance": 0.43607
}

Semantic roles & 50–950 ramp

primary
#CB9FED
secondary
#E4F2D9
accent
#D01567
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CB9FED

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

Preview Lab → · Contrast checker → · Palette generator →

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