#9231CF#9231CF

#9231CF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.3% C 0.229 H 308.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9231CF
RGBrgb(146, 49, 207)
HSLhsl(277, 62%, 50%)
HSVhsv(277, 76%, 81%)
CMYKcmyk(29.5%, 76.3%, 0%, 18.8%)
CIE-LABlab(42.48, 64.89, -63.34)
CIE-LCHlch(42.48, 90.68, 315.69°)
OKLaboklab(53.34% 0.1417 -0.1799)
OKLCHoklch(53.34% 0.229 308.2)
XYZxyz(24.2125, 12.8130, 60.2170)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9231CF #6ECF31
analogous
#4331CF #9231CF #CF31BD
triadic
#9231CF #CF9231 #31CF92
tetradic
#9231CF #CF4331 #6ECF31 #31BDCF
square
#9231CF #CF4331 #6ECF31 #31BDCF
split-complementary
#9231CF #BDCF31 #31CF43
monochromatic
#4C196C #6F259E #9231CF #AC63DB #C794E6

Accessibility & contrast

On white

5.89
#9231CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9231CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9231CF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9231CF#FFFFFF#000000##FFFFFF
##9231CF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#88587F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9231cf;
/* rgb */ color: rgb(146, 49, 207);
/* oklch */ color: oklch(53.3% 0.229 308.2);
Tailwind
colors: {
  custom: {
    50: '#b774df',
    500: '#9231cf',
    950: '#000000',
  },
}
SCSS
$custom: #9231cf;
$custom-light: #b774df;
$custom-dark: #000000;
JSON
{
  "hex": "#9231cf",
  "rgb": {
    "r": 146,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 276.835,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.22903,
    "h": 308.2
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#9231CF
secondary
#A6D18B
accent
#E54381
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9231CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9231CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva