#CB85FB#CB85FB

#CB85FB is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.4% C 0.177 H 310.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CB85FB
RGBrgb(203, 133, 251)
HSLhsl(276, 94%, 75%)
HSVhsv(276, 47%, 98%)
CMYKcmyk(19.1%, 47%, 0%, 1.6%)
CIE-LABlab(66.85, 47.64, -48.68)
CIE-LCHlch(66.85, 68.12, 314.38°)
OKLaboklab(73.39% 0.1142 -0.1357)
OKLCHoklch(73.39% 0.177 310.1)
XYZxyz(50.4255, 36.4374, 95.6248)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85FB #B5FB85
analogous
#9085FB #CB85FB #FB85F0
triadic
#CB85FB #FBCB85 #85FBCB
tetradic
#CB85FB #FB9085 #B5FB85 #85F0FB
square
#CB85FB #FB9085 #B5FB85 #85F0FB
split-complementary
#CB85FB #F0FB85 #85FB90
monochromatic
#980EF7 #B24AF9 #CB85FB #E4C0FD #F2E1FE

Accessibility & contrast

On white

2.53
#CB85FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#CB85FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85FB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85FB#FFFFFF#000000##000000
##CB85FB1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFF
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#C598B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb85fb;
/* rgb */ color: rgb(203, 133, 251);
/* oklch */ color: oklch(73.4% 0.177 310.1);
Tailwind
colors: {
  custom: {
    50: '#ddaafd',
    500: '#cb85fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb85fb;
$custom-light: #ddaafd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85fb",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 275.593,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73388,
    "c": 0.17738,
    "h": 310.1
  },
  "luminance": 0.36437
}

Semantic roles & 50–950 ramp

primary
#CB85FB
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB85FB

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

Preview Lab → · Contrast checker → · Palette generator →

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