#9230DB#9230DB

#9230DB is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.2% C 0.241 H 305.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9230DB
RGBrgb(146, 48, 219)
HSLhsl(274, 70%, 52%)
HSVhsv(274, 78%, 86%)
CMYKcmyk(33.3%, 78.1%, 0%, 14.1%)
CIE-LABlab(43.27, 67.82, -68.95)
CIE-LCHlch(43.27, 96.72, 314.53°)
OKLaboklab(54.18% 0.1398 -0.1964)
OKLCHoklch(54.18% 0.241 305.4)
XYZxyz(25.6943, 13.3396, 68.2253)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9230DB #79DB30
analogous
#3D30DB #9230DB #DB30CE
triadic
#9230DB #DB9230 #30DB92
tetradic
#9230DB #DB3D30 #79DB30 #30CEDB
square
#9230DB #DB3D30 #79DB30 #30CEDB
split-complementary
#9230DB #CEDB30 #30DB3D
monochromatic
#50157B #711EAF #9230DB #AD64E4 #C998ED

Accessibility & contrast

On white

5.73
#9230DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9230DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9230DB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9230DB#FFFFFF#000000##FFFFFF
##9230DB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#845D86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9230db;
/* rgb */ color: rgb(146, 48, 219);
/* oklch */ color: oklch(54.2% 0.241 305.4);
Tailwind
colors: {
  custom: {
    50: '#b874e7',
    500: '#9230db',
    950: '#000000',
  },
}
SCSS
$custom: #9230db;
$custom-light: #b874e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9230db",
  "rgb": {
    "r": 146,
    "g": 48,
    "b": 219
  },
  "hsl": {
    "h": 274.386,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.24107,
    "h": 305.4
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#9230DB
secondary
#AED98E
accent
#ED3B87
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9230DB

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

Preview Lab → · Contrast checker → · Palette generator →

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