#CB8EFD#CB8EFD

#CB8EFD is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.9% C 0.165 H 308.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CB8EFD
RGBrgb(203, 142, 253)
HSLhsl(273, 97%, 77%)
HSVhsv(273, 44%, 99%)
CMYKcmyk(19.8%, 43.9%, 0%, 0.8%)
CIE-LABlab(68.85, 43.28, -46.63)
CIE-LCHlch(68.85, 63.62, 312.87°)
OKLaboklab(74.91% 0.1023 -0.1298)
OKLCHoklch(74.91% 0.165 308.2)
XYZxyz(52.0278, 39.1350, 97.7224)
Luminance0.3913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EFD #C0FD8E
analogous
#948EFD #CB8EFD #FD8EF8
triadic
#CB8EFD #FDCB8E #8EFDCB
tetradic
#CB8EFD #FD948E #C0FD8E #8EF8FD
square
#CB8EFD #FD948E #C0FD8E #8EF8FD
split-complementary
#CB8EFD #F8FD8E #8EFD94
monochromatic
#9416FB #AF52FC #CB8EFD #E7CAFE #F1E1FE

Accessibility & contrast

On white

2.38
#CB8EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CB8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EFD
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EFD#FFFFFF#000000##000000
##CB8EFD1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#83A9FA
Tritanopia (blue-blind)
#C4A0BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb8efd;
/* rgb */ color: rgb(203, 142, 253);
/* oklch */ color: oklch(74.9% 0.165 308.2);
Tailwind
colors: {
  custom: {
    50: '#ddb0fe',
    500: '#cb8efd',
    950: '#000000',
  },
}
SCSS
$custom: #cb8efd;
$custom-light: #ddb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8efd",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 272.973,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74911,
    "c": 0.16528,
    "h": 308.2
  },
  "luminance": 0.39134
}

Semantic roles & 50–950 ramp

primary
#CB8EFD
secondary
#E4F7D4
accent
#E60067
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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