#9235DB#9235DB

#9235DB is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.6% C 0.236 H 305.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9235DB
RGBrgb(146, 53, 219)
HSLhsl(274, 70%, 53%)
HSVhsv(274, 76%, 86%)
CMYKcmyk(33.3%, 75.8%, 0%, 14.1%)
CIE-LABlab(43.90, 66.00, -67.92)
CIE-LCHlch(43.90, 94.70, 314.18°)
OKLaboklab(54.62% 0.1358 -0.1934)
OKLCHoklch(54.62% 0.236 305.1)
XYZxyz(25.9105, 13.7718, 68.2973)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9235DB #7EDB35
analogous
#3F35DB #9235DB #DB35D1
triadic
#9235DB #DB9235 #35DB92
tetradic
#9235DB #DB3F35 #7EDB35 #35D1DB
square
#9235DB #DB3F35 #7EDB35 #35D1DB
split-complementary
#9235DB #D1DB35 #35DB3F
monochromatic
#51177F #7220B3 #9235DB #AE69E4 #CA9DEE

Accessibility & contrast

On white

5.59
#9235DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9235DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9235DB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9235DB#FFFFFF#000000##FFFFFF
##9235DB1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#845F87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9235db;
/* rgb */ color: rgb(146, 53, 219);
/* oklch */ color: oklch(54.6% 0.236 305.1);
Tailwind
colors: {
  custom: {
    50: '#b876e7',
    500: '#9235db',
    950: '#000000',
  },
}
SCSS
$custom: #9235db;
$custom-light: #b876e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9235db",
  "rgb": {
    "r": 146,
    "g": 53,
    "b": 219
  },
  "hsl": {
    "h": 273.614,
    "s": 69.748,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.2363,
    "h": 305.1
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#9235DB
secondary
#B2DA92
accent
#ED3B89
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9235DB

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

Preview Lab → · Contrast checker → · Palette generator →

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