#9230C8#9230C8

#9230C8 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.7% C 0.224 H 310.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9230C8
RGBrgb(146, 48, 200)
HSLhsl(279, 61%, 49%)
HSVhsv(279, 76%, 78%)
CMYKcmyk(27%, 76%, 0%, 21.6%)
CIE-LABlab(41.84, 63.78, -60.33)
CIE-LCHlch(41.84, 87.79, 316.59°)
OKLaboklab(52.73% 0.144 -0.1711)
OKLCHoklch(52.73% 0.224 310.1)
XYZxyz(23.3343, 12.3955, 55.7957)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9230C8 #66C830
analogous
#4630C8 #9230C8 #C830B2
triadic
#9230C8 #C89230 #30C892
tetradic
#9230C8 #C84630 #66C830 #30B2C8
square
#9230C8 #C84630 #66C830 #30B2C8
split-complementary
#9230C8 #B2C830 #30C846
monochromatic
#4A1865 #6E2497 #9230C8 #AC5DD8 #C68EE4

Accessibility & contrast

On white

6.04
#9230C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9230C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9230C8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9230C8#FFFFFF#000000##FFFFFF
##9230C81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#8A557B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9230c8;
/* rgb */ color: rgb(146, 48, 200);
/* oklch */ color: oklch(52.7% 0.224 310.1);
Tailwind
colors: {
  custom: {
    50: '#b773da',
    500: '#9230c8',
    950: '#000000',
  },
}
SCSS
$custom: #9230c8;
$custom-light: #b773da;
$custom-dark: #000000;
JSON
{
  "hex": "#9230c8",
  "rgb": {
    "r": 146,
    "g": 48,
    "b": 200
  },
  "hsl": {
    "h": 278.684,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52728,
    "c": 0.22359,
    "h": 310.1
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#9230C8
secondary
#9FCE85
accent
#E4437D
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9230C8

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

Preview Lab → · Contrast checker → · Palette generator →

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