#CB85FA#CB85FA

#CB85FA is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.3% C 0.176 H 310.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CB85FA
RGBrgb(203, 133, 250)
HSLhsl(276, 92%, 75%)
HSVhsv(276, 47%, 98%)
CMYKcmyk(18.8%, 46.8%, 0%, 2%)
CIE-LABlab(66.81, 47.43, -48.21)
CIE-LCHlch(66.81, 67.63, 314.53°)
OKLaboklab(73.34% 0.1141 -0.1344)
OKLCHoklch(73.34% 0.176 310.3)
XYZxyz(50.2683, 36.3745, 94.7968)
Luminance0.3637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85FA #B4FA85
analogous
#9085FA #CB85FA #FA85EF
triadic
#CB85FA #FACB85 #85FACB
tetradic
#CB85FA #FA9085 #B4FA85 #85EFFA
square
#CB85FA #FA9085 #B4FA85 #85EFFA
split-complementary
#CB85FA #EFFA85 #85FA90
monochromatic
#990FF5 #B24AF8 #CB85FA #E4C0FC #F2E2FE

Accessibility & contrast

On white

2.54
#CB85FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CB85FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85FA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85FA#FFFFFF#000000##000000
##CB85FA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#C598B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb85fa;
/* rgb */ color: rgb(203, 133, 250);
/* oklch */ color: oklch(73.3% 0.176 310.3);
Tailwind
colors: {
  custom: {
    50: '#ddaafc',
    500: '#cb85fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb85fa;
$custom-light: #ddaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85fa",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 275.897,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73337,
    "c": 0.17625,
    "h": 310.3
  },
  "luminance": 0.36374
}

Semantic roles & 50–950 ramp

primary
#CB85FA
secondary
#E2F6D5
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB85FA

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

Preview Lab → · Contrast checker → · Palette generator →

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