#CB8FED#CB8FED

#CB8FED is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.3% C 0.145 H 312.6°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CB8FED
RGBrgb(203, 143, 237)
HSLhsl(278, 72%, 75%)
HSVhsv(278, 40%, 93%)
CMYKcmyk(14.3%, 39.7%, 0%, 7.1%)
CIE-LABlab(68.36, 39.31, -38.65)
CIE-LCHlch(68.36, 55.12, 315.49°)
OKLaboklab(74.31% 0.0981 -0.1068)
OKLCHoklch(74.31% 0.145 312.6)
XYZxyz(49.7345, 38.4568, 84.9073)
Luminance0.3846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FED #B1ED8F
analogous
#9C8FED #CB8FED #ED8FE0
triadic
#CB8FED #EDCB8F #8FEDCB
tetradic
#CB8FED #ED9C8F #B1ED8F #8FE0ED
square
#CB8FED #ED9C8F #B1ED8F #8FE0ED
split-complementary
#CB8FED #E0ED8F #8FED9C
monochromatic
#9A26DC #B35AE5 #CB8FED #E3C4F5 #F3E5FB

Accessibility & contrast

On white

2.42
#CB8FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CB8FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FED
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FED#FFFFFF#000000##000000
##CB8FED1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F0
Deuteranopia (green-blind)
#8CA8EA
Tritanopia (blue-blind)
#C89CB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8fed;
/* rgb */ color: rgb(203, 143, 237);
/* oklch */ color: oklch(74.3% 0.145 312.6);
Tailwind
colors: {
  custom: {
    50: '#dcb1f3',
    500: '#cb8fed',
    950: '#000000',
  },
}
SCSS
$custom: #cb8fed;
$custom-light: #dcb1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8fed",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 278.298,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74308,
    "c": 0.14502,
    "h": 312.6
  },
  "luminance": 0.38456
}

Semantic roles & 50–950 ramp

primary
#CB8FED
secondary
#E2F2D9
accent
#D41158
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CB8FED

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

Preview Lab → · Contrast checker → · Palette generator →

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