#9135CB#9135CB

#9135CB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.221 H 308.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9135CB
RGBrgb(145, 53, 203)
HSLhsl(277, 59%, 50%)
HSVhsv(277, 74%, 80%)
CMYKcmyk(28.6%, 73.9%, 0%, 20.4%)
CIE-LABlab(42.58, 62.33, -60.87)
CIE-LCHlch(42.58, 87.12, 315.68°)
OKLaboklab(53.29% 0.1376 -0.1727)
OKLCHoklch(53.29% 0.221 308.6)
XYZxyz(23.7274, 12.8781, 57.7241)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9135CB #6FCB35
analogous
#4635CB #9135CB #CB35BA
triadic
#9135CB #CB9135 #35CB91
tetradic
#9135CB #CB4635 #6FCB35 #35BACB
square
#9135CB #CB4635 #6FCB35 #35BACB
split-complementary
#9135CB #BACB35 #35CB46
monochromatic
#4C1B6A #6E289B #9135CB #AC66D8 #C696E4

Accessibility & contrast

On white

5.87
#9135CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9135CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9135CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9135CB#FFFFFF#000000##FFFFFF
##9135CB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#88597E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9135cb;
/* rgb */ color: rgb(145, 53, 203);
/* oklch */ color: oklch(53.3% 0.221 308.6);
Tailwind
colors: {
  custom: {
    50: '#b675dc',
    500: '#9135cb',
    950: '#000000',
  },
}
SCSS
$custom: #9135cb;
$custom-light: #b675dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9135cb",
  "rgb": {
    "r": 145,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 276.8,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5329,
    "c": 0.22086,
    "h": 308.6
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#9135CB
secondary
#A6CF8C
accent
#E24682
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9135CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9135CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva