#CB8BFB#CB8BFB

#CB8BFB is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.3% C 0.168 H 309.2°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CB8BFB
RGBrgb(203, 139, 251)
HSLhsl(274, 93%, 76%)
HSVhsv(274, 45%, 98%)
CMYKcmyk(19.1%, 44.6%, 0%, 1.6%)
CIE-LABlab(68.11, 44.46, -46.69)
CIE-LCHlch(68.11, 64.47, 313.59°)
OKLaboklab(74.33% 0.1061 -0.13)
OKLCHoklch(74.33% 0.168 309.2)
XYZxyz(51.2705, 38.1275, 95.9065)
Luminance0.3813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BFB #BBFB8B
analogous
#938BFB #CB8BFB #FB8BF3
triadic
#CB8BFB #FBCB8B #8BFBCB
tetradic
#CB8BFB #FB938B #BBFB8B #8BF3FB
square
#CB8BFB #FB938B #BBFB8B #8BF3FB
split-complementary
#CB8BFB #F3FB8B #8BFB93
monochromatic
#9615F7 #B050F9 #CB8BFB #E6C6FD #F2E1FE

Accessibility & contrast

On white

2.43
#CB8BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CB8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BFB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BFB#FFFFFF#000000##000000
##CB8BFB1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#C59DB7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8bfb;
/* rgb */ color: rgb(203, 139, 251);
/* oklch */ color: oklch(74.3% 0.168 309.2);
Tailwind
colors: {
  custom: {
    50: '#ddaefd',
    500: '#cb8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bfb;
$custom-light: #ddaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bfb",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 274.286,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7433,
    "c": 0.16778,
    "h": 309.2
  },
  "luminance": 0.38127
}

Semantic roles & 50–950 ramp

primary
#CB8BFB
secondary
#E3F6D5
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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