#6232C2#6232C2

#6232C2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.208 H 291.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6232C2
RGBrgb(98, 50, 194)
HSLhsl(260, 59%, 48%)
HSVhsv(260, 74%, 76%)
CMYKcmyk(49.5%, 74.2%, 0%, 23.9%)
CIE-LABlab(35.54, 53.41, -67.35)
CIE-LCHlch(35.54, 85.95, 308.42°)
OKLaboklab(46.82% 0.076 -0.1933)
OKLCHoklch(46.82% 0.208 291.5)
XYZxyz(15.9125, 8.7723, 51.8833)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232C2 #92C232
analogous
#324AC2 #6232C2 #AA32C2
triadic
#6232C2 #C26232 #32C262
tetradic
#6232C2 #C2324A #92C232 #32C2AA
square
#6232C2 #C2324A #92C232 #32C2AA
split-complementary
#6232C2 #C2AA32 #4AC232
monochromatic
#311961 #492591 #6232C2 #845CD5 #A98DE2

Accessibility & contrast

On white

7.62
#6232C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6232C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232C2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232C2#FFFFFF#000000##FFFFFF
##6232C21.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#425978
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6232c2;
/* rgb */ color: rgb(98, 50, 194);
/* oklch */ color: oklch(46.8% 0.208 291.5);
Tailwind
colors: {
  custom: {
    50: '#986fd6',
    500: '#6232c2',
    950: '#000000',
  },
}
SCSS
$custom: #6232c2;
$custom-light: #986fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#6232c2",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 260,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46824,
    "c": 0.20773,
    "h": 291.5
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#6232C2
secondary
#B4CC84
accent
#E246AE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6232C2

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

Preview Lab → · Contrast checker → · Palette generator →

#6232C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva