#9230CD#9230CD

#9230CD is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.1% C 0.228 H 308.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9230CD
RGBrgb(146, 48, 205)
HSLhsl(277, 62%, 50%)
HSVhsv(277, 77%, 80%)
CMYKcmyk(28.8%, 76.6%, 0%, 19.6%)
CIE-LABlab(42.21, 64.83, -62.63)
CIE-LCHlch(42.21, 90.14, 315.99°)
OKLaboklab(53.1% 0.143 -0.1778)
OKLCHoklch(53.1% 0.228 308.8)
XYZxyz(23.9282, 12.6331, 58.9237)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9230CD #6BCD30
analogous
#4330CD #9230CD #CD30BA
triadic
#9230CD #CD9230 #30CD92
tetradic
#9230CD #CD4330 #6BCD30 #30BACD
square
#9230CD #CD4330 #6BCD30 #30BACD
split-complementary
#9230CD #BACD30 #30CD43
monochromatic
#4B196A #6F249B #9230CD #AC60DA #C692E5

Accessibility & contrast

On white

5.95
#9230CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9230CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9230CD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9230CD#FFFFFF#000000##FFFFFF
##9230CD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#89577E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9230cd;
/* rgb */ color: rgb(146, 48, 205);
/* oklch */ color: oklch(53.1% 0.228 308.8);
Tailwind
colors: {
  custom: {
    50: '#b773dd',
    500: '#9230cd',
    950: '#000000',
  },
}
SCSS
$custom: #9230cd;
$custom-light: #b773dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9230cd",
  "rgb": {
    "r": 146,
    "g": 48,
    "b": 205
  },
  "hsl": {
    "h": 277.452,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.22818,
    "h": 308.8
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#9230CD
secondary
#A3D089
accent
#E54380
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9230CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9230CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva