#C258FE#C258FE

#C258FE is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.5% C 0.243 H 310.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#C258FE
RGBrgb(194, 88, 254)
HSLhsl(278, 99%, 67%)
HSVhsv(278, 65%, 100%)
CMYKcmyk(23.6%, 65.4%, 0%, 0.4%)
CIE-LABlab(57.66, 68.18, -65.04)
CIE-LCHlch(57.66, 94.23, 316.35°)
OKLaboklab(66.48% 0.1586 -0.1836)
OKLCHoklch(66.48% 0.243 310.8)
XYZxyz(43.6239, 25.6055, 96.3910)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C258FE #94FE58
analogous
#6F58FE #C258FE #FE58E7
triadic
#C258FE #FEC258 #58FEC2
tetradic
#C258FE #FE6F58 #94FE58 #58E7FE
square
#C258FE #FE6F58 #94FE58 #58E7FE
split-complementary
#C258FE #E7FE58 #58FE6F
monochromatic
#8C01DA #AC1BFE #C258FE #D895FE #EED2FF

Accessibility & contrast

On white

3.43
#C258FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#C258FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C258FE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C258FE#FFFFFF#000000##000000
##C258FE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#438CFA
Tritanopia (blue-blind)
#BA7AA4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c258fe;
/* rgb */ color: rgb(194, 88, 254);
/* oklch */ color: oklch(66.5% 0.243 310.8);
Tailwind
colors: {
  custom: {
    50: '#d98eff',
    500: '#c258fe',
    950: '#000000',
  },
}
SCSS
$custom: #c258fe;
$custom-light: #d98eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c258fe",
  "rgb": {
    "r": 194,
    "g": 88,
    "b": 254
  },
  "hsl": {
    "h": 278.313,
    "s": 98.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66479,
    "c": 0.24263,
    "h": 310.8
  },
  "luminance": 0.25605
}

Semantic roles & 50–950 ramp

primary
#C258FE
secondary
#D2F3BF
accent
#E60053
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C258FE

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

Preview Lab → · Contrast checker → · Palette generator →

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