#CE7BFB#CE7BFB

#CE7BFB is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.2% C 0.194 H 312.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CE7BFB
RGBrgb(206, 123, 251)
HSLhsl(279, 94%, 73%)
HSVhsv(279, 51%, 98%)
CMYKcmyk(17.9%, 51%, 0%, 1.6%)
CIE-LABlab(65.16, 53.64, -51.33)
CIE-LCHlch(65.16, 74.24, 316.26°)
OKLaboklab(72.21% 0.131 -0.1433)
OKLCHoklch(72.21% 0.194 312.4)
XYZxyz(49.9461, 34.2539, 95.2287)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7BFB #A8FB7B
analogous
#8E7BFB #CE7BFB #FB7BE8
triadic
#CE7BFB #FBCE7B #7BFBCE
tetradic
#CE7BFB #FB8E7B #A8FB7B #7BE8FB
square
#CE7BFB #FB8E7B #A8FB7B #7BE8FB
split-complementary
#CE7BFB #E8FB7B #7BFB8E
monochromatic
#A107F4 #B840F9 #CE7BFB #E4B6FD #F4E1FE

Accessibility & contrast

On white

2.67
#CE7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CE7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7BFB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7BFB#FFFFFF#000000##000000
##CE7BFB1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#C990B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce7bfb;
/* rgb */ color: rgb(206, 123, 251);
/* oklch */ color: oklch(72.2% 0.194 312.4);
Tailwind
colors: {
  custom: {
    50: '#dfa4fd',
    500: '#ce7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #ce7bfb;
$custom-light: #dfa4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7bfb",
  "rgb": {
    "r": 206,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 278.906,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72208,
    "c": 0.19418,
    "h": 312.4
  },
  "luminance": 0.34253
}

Semantic roles & 50–950 ramp

primary
#CE7BFB
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CE7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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