#6135C8#6135C8

#6135C8 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.211 H 289.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6135C8
RGBrgb(97, 53, 200)
HSLhsl(258, 58%, 50%)
HSVhsv(258, 74%, 78%)
CMYKcmyk(51.5%, 73.5%, 0%, 21.6%)
CIE-LABlab(36.47, 53.44, -69.33)
CIE-LCHlch(36.47, 87.54, 307.63°)
OKLaboklab(47.62% 0.0706 -0.1992)
OKLCHoklch(47.62% 0.211 289.5)
XYZxyz(16.6252, 9.2570, 55.5432)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135C8 #9CC835
analogous
#3553C8 #6135C8 #AB35C8
triadic
#6135C8 #C86135 #35C861
tetradic
#6135C8 #C83553 #9CC835 #35C8AB
square
#6135C8 #C83553 #9CC835 #35C8AB
split-complementary
#6135C8 #C8AB35 #53C835
monochromatic
#321B67 #4A2898 #6135C8 #8664D6 #AC95E3

Accessibility & contrast

On white

7.36
#6135C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6135C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135C8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135C8#FFFFFF#000000##FFFFFF
##6135C81.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#3B5D7C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6135c8;
/* rgb */ color: rgb(97, 53, 200);
/* oklch */ color: oklch(47.6% 0.211 289.5);
Tailwind
colors: {
  custom: {
    50: '#9871da',
    500: '#6135c8',
    950: '#000000',
  },
}
SCSS
$custom: #6135c8;
$custom-light: #9871da;
$custom-dark: #000000;
JSON
{
  "hex": "#6135c8",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 257.959,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47618,
    "c": 0.21134,
    "h": 289.5
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

primary
#6135C8
secondary
#BACE8B
accent
#E146B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6135C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6135C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva