#905FCB#905FCB

#905FCB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.164 H 302.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#905FCB
RGBrgb(144, 95, 203)
HSLhsl(267, 51%, 58%)
HSVhsv(267, 53%, 80%)
CMYKcmyk(29.1%, 53.2%, 0%, 20.4%)
CIE-LABlab(50.01, 41.59, -48.93)
CIE-LCHlch(50.01, 64.22, 310.37°)
OKLaboklab(58.64% 0.0882 -0.1379)
OKLCHoklch(58.64% 0.164 302.6)
XYZxyz(26.3709, 18.4255, 58.6555)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FCB #9ACB5F
analogous
#5F64CB #905FCB #C65FCB
triadic
#905FCB #CB905F #5FCB90
tetradic
#905FCB #CB5F64 #9ACB5F #5FCBC6
square
#905FCB #CB5F64 #9ACB5F #5FCBC6
split-complementary
#905FCB #CBC65F #64CB5F
monochromatic
#542B85 #713AB3 #905FCB #B08DDA #D0BBE9

Accessibility & contrast

On white

4.48
#905FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#905FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905FCB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FCB#FFFFFF#000000##000000
##905FCB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CF
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#85738C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905fcb;
/* rgb */ color: rgb(144, 95, 203);
/* oklch */ color: oklch(58.6% 0.164 302.6);
Tailwind
colors: {
  custom: {
    50: '#b38edb',
    500: '#905fcb',
    950: '#000000',
  },
}
SCSS
$custom: #905fcb;
$custom-light: #b38edb;
$custom-dark: #000000;
JSON
{
  "hex": "#905fcb",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 267.222,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58641,
    "c": 0.16367,
    "h": 302.6
  },
  "luminance": 0.18426
}

Semantic roles & 50–950 ramp

primary
#905FCB
secondary
#C5D8AD
accent
#DA4D9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905FCB

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

Preview Lab → · Contrast checker → · Palette generator →

#905FCB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva