#C231F6#C231F6

#C231F6 is a light, highly saturated purple. Relative luminance 0.203; OKLCH L 62.4% C 0.276 H 314.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C231F6
RGBrgb(194, 49, 246)
HSLhsl(284, 92%, 58%)
HSVhsv(284, 80%, 96%)
CMYKcmyk(21.1%, 80.1%, 0%, 3.5%)
CIE-LABlab(52.20, 80.67, -69.41)
CIE-LCHlch(52.20, 106.42, 319.29°)
OKLaboklab(62.44% 0.1943 -0.1962)
OKLCHoklch(62.44% 0.276 314.7)
XYZxyz(39.9782, 20.3213, 88.9874)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231F6 #65F631
analogous
#5F31F6 #C231F6 #F631C8
triadic
#C231F6 #F6C231 #31F6C2
tetradic
#C231F6 #F65F31 #65F631 #31C8F6
square
#C231F6 #F65F31 #65F631 #31C8F6
split-complementary
#C231F6 #C8F631 #31F65F
monochromatic
#7C07A5 #A70AE0 #C231F6 #D36CF9 #E5A6FB

Accessibility & contrast

On white

4.15
#C231F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C231F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C231F6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231F6#FFFFFF#000000##000000
##C231F61.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075FB
Deuteranopia (green-blind)
#2080F2
Tritanopia (blue-blind)
#BD6296
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c231f6;
/* rgb */ color: rgb(194, 49, 246);
/* oklch */ color: oklch(62.4% 0.276 314.7);
Tailwind
colors: {
  custom: {
    50: '#da7bfa',
    500: '#c231f6',
    950: '#000000',
  },
}
SCSS
$custom: #c231f6;
$custom-light: #da7bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c231f6",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 246
  },
  "hsl": {
    "h": 284.162,
    "s": 91.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62438,
    "c": 0.27612,
    "h": 314.7
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#C231F6
secondary
#AFE99A
accent
#FF2961
background
#FEF8FF
surface
#FCEFFF
border
#D5CAD7
text
#160B17
muted
#847C85

Preview Lab

Preview with #C231F6

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

Preview Lab → · Contrast checker → · Palette generator →

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