#CB8BF3#CB8BF3

#CB8BF3 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.9% C 0.159 H 311.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CB8BF3
RGBrgb(203, 139, 243)
HSLhsl(277, 81%, 75%)
HSVhsv(277, 43%, 95%)
CMYKcmyk(16.5%, 42.8%, 0%, 4.7%)
CIE-LABlab(67.75, 42.73, -42.89)
CIE-LCHlch(67.75, 60.54, 314.90°)
OKLaboklab(73.94% 0.1048 -0.119)
OKLCHoklch(73.94% 0.159 311.4)
XYZxyz(50.0360, 37.6337, 89.4048)
Luminance0.3763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BF3 #B3F38B
analogous
#978BF3 #CB8BF3 #F38BE7
triadic
#CB8BF3 #F3CB8B #8BF3CB
tetradic
#CB8BF3 #F3978B #B3F38B #8BE7F3
square
#CB8BF3 #F3978B #B3F38B #8BE7F3
split-complementary
#CB8BF3 #E7F38B #8BF397
monochromatic
#991CE8 #B254ED #CB8BF3 #E4C2F9 #F3E3FC

Accessibility & contrast

On white

2.46
#CB8BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CB8BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BF3
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BF3#FFFFFF#000000##000000
##CB8BF31.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F7
Deuteranopia (green-blind)
#86A6F0
Tritanopia (blue-blind)
#C79BB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8bf3;
/* rgb */ color: rgb(203, 139, 243);
/* oklch */ color: oklch(73.9% 0.159 311.4);
Tailwind
colors: {
  custom: {
    50: '#dcaef7',
    500: '#cb8bf3',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bf3;
$custom-light: #dcaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bf3",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 276.923,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73938,
    "c": 0.15857,
    "h": 311.4
  },
  "luminance": 0.37633
}

Semantic roles & 50–950 ramp

primary
#CB8BF3
secondary
#E2F4D7
accent
#DE085A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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