#CE74FE#CE74FE

#CE74FE is a light, highly saturated violet. Relative luminance 0.328; OKLCH L 71.4% C 0.208 H 312.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CE74FE
RGBrgb(206, 116, 254)
HSLhsl(279, 99%, 73%)
HSVhsv(279, 54%, 100%)
CMYKcmyk(18.9%, 54.3%, 0%, 0.4%)
CIE-LABlab(63.97, 57.79, -54.86)
CIE-LCHlch(63.97, 79.69, 316.49°)
OKLaboklab(71.38% 0.1402 -0.1536)
OKLCHoklch(71.38% 0.208 312.4)
XYZxyz(49.5853, 32.7695, 97.4598)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE74FE #A4FE74
analogous
#8974FE #CE74FE #FE74E9
triadic
#CE74FE #FECE74 #74FECE
tetradic
#CE74FE #FE8974 #A4FE74 #74E9FE
square
#CE74FE #FE8974 #A4FE74 #74E9FE
split-complementary
#CE74FE #E9FE74 #74FE89
monochromatic
#A102F6 #B937FE #CE74FE #E3B1FE #F4E1FF

Accessibility & contrast

On white

2.78
#CE74FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CE74FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE74FE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE74FE#FFFFFF#000000##000000
##CE74FE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#C98CAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ce74fe;
/* rgb */ color: rgb(206, 116, 254);
/* oklch */ color: oklch(71.4% 0.208 312.4);
Tailwind
colors: {
  custom: {
    50: '#e09fff',
    500: '#ce74fe',
    950: '#000000',
  },
}
SCSS
$custom: #ce74fe;
$custom-light: #e09fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce74fe",
  "rgb": {
    "r": 206,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 279.13,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71381,
    "c": 0.20798,
    "h": 312.4
  },
  "luminance": 0.32768
}

Semantic roles & 50–950 ramp

primary
#CE74FE
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CE74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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