#906FE3#906FE3

#906FE3 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.7% C 0.170 H 294.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#906FE3
RGBrgb(144, 111, 227)
HSLhsl(257, 67%, 66%)
HSVhsv(257, 51%, 89%)
CMYKcmyk(36.6%, 51.1%, 0%, 11%)
CIE-LABlab(54.91, 38.70, -54.71)
CIE-LCHlch(54.91, 67.01, 305.28°)
OKLaboklab(62.72% 0.0692 -0.1548)
OKLCHoklch(62.72% 0.17 294.1)
XYZxyz(31.0476, 22.8436, 75.4316)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906FE3 #C2E36F
analogous
#6F88E3 #906FE3 #CA6FE3
triadic
#906FE3 #E3906F #6FE390
tetradic
#906FE3 #E36F88 #C2E36F #6FE3CA
square
#906FE3 #E36F88 #C2E36F #6FE3CA
split-complementary
#906FE3 #E3CA6F #88E36F
monochromatic
#4C23B5 #693CD9 #906FE3 #B7A2ED #DFD5F7

Accessibility & contrast

On white

3.77
#906FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#906FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906FE3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906FE3#FFFFFF#000000##000000
##906FE31.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E7
Deuteranopia (green-blind)
#4882E0
Tritanopia (blue-blind)
#7C869F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #906fe3;
/* rgb */ color: rgb(144, 111, 227);
/* oklch */ color: oklch(62.7% 0.170 294.1);
Tailwind
colors: {
  custom: {
    50: '#b499ec',
    500: '#906fe3',
    950: '#000000',
  },
}
SCSS
$custom: #906fe3;
$custom-light: #b499ec;
$custom-dark: #000000;
JSON
{
  "hex": "#906fe3",
  "rgb": {
    "r": 144,
    "g": 111,
    "b": 227
  },
  "hsl": {
    "h": 257.069,
    "s": 67.442,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.16958,
    "h": 294.1
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#906FE3
secondary
#DFEAC4
accent
#CF169B
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #906FE3

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

Preview Lab → · Contrast checker → · Palette generator →

#906FE3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva