#935CDB#935CDB

#935CDB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.188 H 300.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#935CDB
RGBrgb(147, 92, 219)
HSLhsl(266, 64%, 61%)
HSVhsv(266, 58%, 86%)
CMYKcmyk(32.9%, 58%, 0%, 14.1%)
CIE-LABlab(50.65, 47.92, -57.00)
CIE-LCHlch(50.65, 74.46, 310.05°)
OKLaboklab(59.5% 0.0962 -0.1614)
OKLCHoklch(59.5% 0.188 300.8)
XYZxyz(28.6429, 18.9717, 69.1570)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#935CDB #A4DB5C
analogous
#5C64DB #935CDB #D25CDB
triadic
#935CDB #DB935C #5CDB93
tetradic
#935CDB #DB5C64 #A4DB5C #5CDBD2
square
#935CDB #DB5C64 #A4DB5C #5CDBD2
split-complementary
#935CDB #DBD25C #64DB5C
monochromatic
#56229A #722DCD #935CDB #B48EE6 #D5C0F1

Accessibility & contrast

On white

4.38
#935CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#935CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #935CDB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##935CDB#FFFFFF#000000##000000
##935CDB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DF
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#847693
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #935cdb;
/* rgb */ color: rgb(147, 92, 219);
/* oklch */ color: oklch(59.5% 0.188 300.8);
Tailwind
colors: {
  custom: {
    50: '#b78ce7',
    500: '#935cdb',
    950: '#000000',
  },
}
SCSS
$custom: #935cdb;
$custom-light: #b78ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#935cdb",
  "rgb": {
    "r": 147,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 265.984,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.18795,
    "h": 300.8
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#935CDB
secondary
#CDE1B1
accent
#CC1A7F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #935CDB

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

Preview Lab → · Contrast checker → · Palette generator →

#935CDB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva