#C258FA#C258FA

#C258FA is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 66.2% C 0.239 H 311.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#C258FA
RGBrgb(194, 88, 250)
HSLhsl(279, 94%, 66%)
HSVhsv(279, 65%, 98%)
CMYKcmyk(22.4%, 64.8%, 0%, 2%)
CIE-LABlab(57.42, 67.36, -63.22)
CIE-LCHlch(57.42, 92.37, 316.82°)
OKLaboklab(66.22% 0.1589 -0.1782)
OKLCHoklch(66.22% 0.239 311.7)
XYZxyz(42.9900, 25.3520, 93.0527)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C258FA #90FA58
analogous
#7158FA #C258FA #FA58E1
triadic
#C258FA #FAC258 #58FAC2
tetradic
#C258FA #FA7158 #90FA58 #58E1FA
square
#C258FA #FA7158 #90FA58 #58E1FA
split-complementary
#C258FA #E1FA58 #58FA71
monochromatic
#8B06D1 #AC1DF8 #C258FA #D893FC #EDCFFE

Accessibility & contrast

On white

3.46
#C258FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#C258FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C258FA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C258FA#FFFFFF#000000##000000
##C258FA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#488CF6
Tritanopia (blue-blind)
#BB79A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c258fa;
/* rgb */ color: rgb(194, 88, 250);
/* oklch */ color: oklch(66.2% 0.239 311.7);
Tailwind
colors: {
  custom: {
    50: '#d98efd',
    500: '#c258fa',
    950: '#000000',
  },
}
SCSS
$custom: #c258fa;
$custom-light: #d98efd;
$custom-dark: #000000;
JSON
{
  "hex": "#c258fa",
  "rgb": {
    "r": 194,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 279.259,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66225,
    "c": 0.23878,
    "h": 311.7
  },
  "luminance": 0.25351
}

Semantic roles & 50–950 ramp

primary
#C258FA
secondary
#CFF1BC
accent
#E6004F
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C258FA

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

Preview Lab → · Contrast checker → · Palette generator →

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