#6935AF#6935AF

#6935AF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.183 H 298.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6935AF
RGBrgb(105, 53, 175)
HSLhsl(266, 54%, 45%)
HSVhsv(266, 70%, 69%)
CMYKcmyk(40%, 69.7%, 0%, 31.4%)
CIE-LABlab(35.29, 48.13, -56.50)
CIE-LCHlch(35.29, 74.22, 310.42°)
OKLaboklab(46.34% 0.0873 -0.1613)
OKLCHoklch(46.34% 0.183 298.4)
XYZxyz(14.8347, 8.6444, 41.4361)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6935AF #7BAF35
analogous
#353EAF #6935AF #A635AF
triadic
#6935AF #AF6935 #35AF69
tetradic
#6935AF #AF353E #7BAF35 #35AFA6
square
#6935AF #AF353E #7BAF35 #35AFA6
split-complementary
#6935AF #AFA635 #3EAF35
monochromatic
#311951 #4D2780 #6935AF #8856CC #A985DA

Accessibility & contrast

On white

7.70
#6935AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6935AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6935AF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6935AF#FFFFFF#000000##FFFFFF
##6935AF1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#58526E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6935af;
/* rgb */ color: rgb(105, 53, 175);
/* oklch */ color: oklch(46.3% 0.183 298.4);
Tailwind
colors: {
  custom: {
    50: '#9a70c8',
    500: '#6935af',
    950: '#000000',
  },
}
SCSS
$custom: #6935af;
$custom-light: #9a70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6935af",
  "rgb": {
    "r": 105,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 265.574,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4634,
    "c": 0.18338,
    "h": 298.4
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#6935AF
secondary
#A5C47C
accent
#DD4B9F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6935AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6935AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva